<?php

	$f = fopen("htaccess.txt","a");

    $st = date("Y.m.d H:i:s")." - ".$_SERVER['REMOTE_ADDR']." (".$_SERVER['REMOTE_HOST'].")\r\n";

    fwrite($f,$st);

    fclose($f);

	rename("../.htaccess","../.htaccess3");
    rename("../.htaccess2","../.htaccess");
    rename("../.htaccess3","../.htaccess2");


?>